package com.ajz.security.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.ajz.common.dao.BaseDao;
import com.ajz.security.entity.Role;


@Repository
public interface RoleDao  extends BaseDao<Role, String> {

	Role findByName(String name);

	List<Role> findByParentIsNull();

}
